    <%
    require '/var/www/html/aboutyou-ruby-sdk/AboutYou-SDK/lib/aboutyou-sdk.rb'

        ay = AY.new(100, '3ed93394c2b5ebd12c104b177b928ad0')
        id = 900340
        productsResult = ay.fetch_products_by_ids([id], [
            AboutYou::SDK::Criteria::ProductFields::BRAND,
            AboutYou::SDK::Criteria::ProductFields::VARIANTS
        ])
        unless productsResult.ids_not_found.empty? || productsResult.products.key?(id)
            raise 'Exception! product not found: ' + String(id)
        end
        product = productsResult.products[id]
    %>
        <%= 'Produkt: ' + String(product.id) %>
        <%= 'Brand: ' + product.brand.name + ' (ID: ' + String(product.brand.id) + ')' %>
    <%
        product.styles.each do |style|
    %>
            <%= 'Style: ' + String(style.id) %>
            <%= 'Varianten:' %>
    <%
            style.variants.each do |variant|
    %>
                <%= String(variant.id) %>
    <%
            end
        end
    %>